package com.tianji.learning.domain.query;

import com.tianji.common.domain.query.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "管理端笔记分页查询参数")
public class AdminNotesQuery extends PageQuery {

    @ApiModelProperty("课程名称关键字")
    @NotNull
    private String name;

    @ApiModelProperty("笔记状态，是否在用户端隐藏")
    @NotNull
    private Boolean hidden;

    @ApiModelProperty(value = "更新时间区间的开始时间", example = "2023-7-18 19:52:36")
    private LocalDateTime beginTime;
    @ApiModelProperty(value = "更新时间区间的结束时间", example = "2023-7-18 19:52:36")
    private LocalDateTime endTime;
}


